#ifndef JARVIS_BITSET_H
#define JARVIS_BITSET_H

#define BIT_SET(arr, index)     ( arr[index / 8] |= (1 << (index % 8)))
#define BIT_CLR(arr, index)     ( arr[index / 8] &= ~(1 << (index % 8)))
#define BIT_GET(arr, index)     ((arr[index / 8] >> (index % 8)) & 1)

#endif
